package com.tcg.prototype;

import java.util.Random;

public class Card {
	public int manaCost;
	public int goldCost;
	public String title;
	public String description;
	public int image;
	
	
	static Random r = new Random(1);
	
	public static Card getRandomCard()
	{
		Card result = new Card();
		result.manaCost = r.nextInt(5);
		result.goldCost = r.nextInt(30);
		
		result.title = "title";
		result.description = "description";
		result.image = r.nextInt(3);
		switch (result.image) {
		case 0:
			result.image = R.drawable.card_bg1;
			break;
		case 1:
			result.image = R.drawable.card_bg2;
			break;
		default:
			result.image = R.drawable.card_bg3;
			break;
		}
		return result;
	}
}

